﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <meta charset="utf-8" />
    <script src="../jquery-easyui-1.4.3/jquery.min.js"></script>
    <script src="../jquery-easyui-1.4.3/jquery.easyui.min.js"></script>
    <link href="../themes/default/easyui.css" rel="stylesheet" />
    <link href="../themes/icon.css" rel="stylesheet" />
    <style type="text/css">
        #font-family {
            font-size: 15px;
        }
    </style>
</head>
<body id="font-family">

    <fieldset style="border-color:cornflowerblue; border:1.5px solid rgb(149,183,231)">
        <legend>会员基本信息</legend>

        <table>
            <tr>
                <td>会员卡号：<input id="Text1" type="text" class="easyui-textbox" /></td>
                <td></td>
            </tr>
            <tr>
                <td>
                    会员姓名：
                    <input id="Text1" type="text" class="easyui-textbox" />
                </td>
                <td>手机号码：<input id="Text1" type="text" class="easyui-textbox" /></td>
            </tr>
            <tr>
                <td>卡片密码：<input id="Text1" type="text" class="easyui-textbox" /></td>
                <td>确认密码：<input id="Text1" type="text" class="easyui-textbox" /></td>
            </tr>
            <tr>
                <td>
                    会员性别：
                    <!--会员性别下拉框-->
                    <select id="cc" style="width:100px;"></select>
                    <div id="sp">
                        <!--<div style="color:cornflowerblue;background:#fafafa;padding:5px;">select a lanage</div>-->
                        <div style="padding:10px;">
                            <input type="radio" name="Sex" value="女" /><span>女</span><br />
                            <input type="radio" name="Sex" value="男" /><span>男</span><br />
                        </div>
                    </div>


                </td>
                <td>
                    会员等级：
                    <select id="Grade" style="width:100px;"></select>
                    <div id="spGrade">
                        <div style="padding:10px;">
                            <input type="radio" name="Grade" value="请选择" /><span>-请选择-</span><br />
                            <input type="radio" name="Grade" value="一级" /><span>一级</span><br />
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>会员生日：<input id="Radio1" type="radio" name="Calender" />公历&nbsp;<input id="Radio1" type="radio" name="Calender" />农历</td>
                <td><input id="Text1" type="text" class="easyui-textbox" style="width:80px; " />月 <input id="Text1" type="text" class="easyui-textbox" style="width:80px; " />日</td>
            </tr>
            <tr>
                <td> <input id="Checkbox1" type="checkbox" class="easyui-checkbox" />设置卡片过期时间(到期则此卡自动失效)</td>
                <td><input id="Text1" type="text" class="easyui-textbox" /></td>
            </tr>
            <tr>
                <td>
                    卡片状态：
                    <select id="State" style="width:100px;"></select>
                    <div id="spState">
                        <div style="padding:10px;">
                            <input type="radio" name="State" value="正常" /><span>正常</span><br />
                            <input type="radio" name="State" value="异常" /><span>异常</span><br />
                        </div>
                    </div>
                </td>
                <td>卡片付费：<input id="Text1" type="text" class="easyui-textbox" /></td>
            </tr>
            <tr>
                <td colspan="2"><hr /></td>
            </tr>
            <tr>
                <td>积分数量：<input id="Text1" type="text" class="easyui-textbox" /></td>
                <td><input id="Checkbox1" type="checkbox" class="easyui-checkbox" />积分是否可以自动转换成等级？</td>
            </tr>
            <tr>
                <td>推&nbsp;荐&nbsp;人&nbsp;：<input id="Text1" type="text" class="easyui-textbox" /></td>
                <td>推荐人姓名：<input id="Text1" type="text" class="easyui-textbox" /></td>
            </tr>
            <tr>
                <td></td>
                <td><input id="Button1" type="button" value="&nbsp;&nbsp;修&nbsp;改&nbsp;&nbsp;" class="easyui-linkbutton" /></td>
            </tr>
        </table>
    </fieldset>
    <script type="text/javascript">
        $(function () {
            //会员性别下拉框
            $('#cc').combo({
                required: true,
                editable:false
            });
            $('#sp').appendTo($('#cc').combo('panel'));
            $('#sp input').click(function () {
                var v = $(this).val();
                var s = $(this).next('span').text();
                $('#cc').combo('setValue', v).combo('setText', s).combo('hidePanel');
            })
            //会员等级
            $('#Grade').combo({
                required: true,
                editable: false
            });
            $('#spGrade').appendTo($('#Grade').combo('panel'));
            $('#spGrade input').click(function () {
                var v = $(this).val();
                var s = $(this).next('span').text();
                $('#Grade').combo('setValue', v).combo('setText', s).combo('hidePanel');
            })
            //会员状态
            $('#State').combo({
                required: true,
                editable: false
            });
            $('#spState').appendTo($('#State').combo('panel'));
            $('#spState input').click(function () {
                var v = $(this).val();
                var s = $(this).next('span').text();
                $('#State').combo('setValue', v).combo('setText', s).combo('hidePanel');
            })
        })
    </script>
</body>
</html>
